﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ES.Shared.Data
{
    [Serializable]
    public class KeyColumnInfo
    {
        public KeyColumnInfo()
        {

        }

        public KeyColumnInfo(string columnName)
        {
            ColumnName = columnName;
            SortDirection = SortDirection.Ascending;
        }

        public KeyColumnInfo(string columnName, SortDirection sortDirection)
        {
            ColumnName = columnName;
            SortDirection = sortDirection;
        }

        public string ColumnName { get; set; }
        public SortDirection SortDirection { get; set; }
    }
}
